package com.suray.wcs.service.util;

public enum NodeDirection {
    INVALID(0, "无效"),
    UP(1, "上"),
    DOWN(11, "下"),
    LEFT(2, "左"),
    RIGHT(22, "右"),
    ALL(0xFF, "所有反向"),
    ;

    int value;
    String des;
    NodeDirection(int value, String des) {
        this.value = value;
        this.des = des;
    }

    public int getValue() {
        return value;
    }

    @Override
    public String toString() {
        return des;
    }
}
